[INFO] fetching crate linux-syscalls 0.4.0...
[INFO] fixing linux-syscalls-0.4.0 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] extracting crate linux-syscalls 0.4.0 into /workspace/builds/worker-1-tc2/source
[INFO] started tweaking crates.io crate linux-syscalls 0.4.0
[INFO] finished tweaking crates.io crate linux-syscalls 0.4.0
[INFO] tweaked toml for crates.io crate linux-syscalls 0.4.0 written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate linux-syscalls 0.4.0 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate linux-syscalls 0.4.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 0f09d44aa4996cc4775dae7f1e479420979d2eefb5fdca81e61b7314fc1df370
[INFO] running `Command { std: "docker" "start" "0f09d44aa4996cc4775dae7f1e479420979d2eefb5fdca81e61b7314fc1df370", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0f09d44aa4996cc4775dae7f1e479420979d2eefb5fdca81e61b7314fc1df370" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0f09d44aa4996cc4775dae7f1e479420979d2eefb5fdca81e61b7314fc1df370", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0f09d44aa4996cc4775dae7f1e479420979d2eefb5fdca81e61b7314fc1df370" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2018 edition to 2021
[INFO] [stderr]    Compiling semver v1.0.21
[INFO] [stderr]    Compiling libc v0.2.153
[INFO] [stderr]     Checking linux-sysno v0.2.3
[INFO] [stderr]     Checking linux-raw-vdso v0.1.4
[INFO] [stderr]     Checking linux-errnos v0.3.4
[INFO] [stderr]    Compiling rustc_version v0.4.0
[INFO] [stderr]    Compiling cc v1.0.83
[INFO] [stderr]    Compiling linux-syscalls v0.4.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating build.rs from 2018 edition to 2021
[INFO] [stderr]    Migrating src/lib.rs from 2018 edition to 2021
[INFO] [stderr]    Migrating examples/kernel_exit.rs from 2018 edition to 2021
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.06s
[INFO] [stderr] crater-edition-check: linux-syscalls v0.4.0 (/opt/rustwide/workdir) updating edition from 2018 to 2021
[INFO] [stderr]    Compiling linux-syscalls v0.4.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unexpected `cfg` condition name: `asm_experimental_arch`
[INFO] [stdout]   --> src/lib.rs:59:13
[INFO] [stdout]    |
[INFO] [stdout] 59 | #![cfg_attr(asm_experimental_arch, feature(asm_experimental_arch))]
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: expected names are: `docsrs`, `feature`, and `test` and 32 more
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(asm_experimental_arch)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm_experimental_arch)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `docs_rs`
[INFO] [stdout]   --> src/lib.rs:60:13
[INFO] [stdout]    |
[INFO] [stdout] 60 | #![cfg_attr(docs_rs, feature(doc_cfg))]
[INFO] [stdout]    |             ^^^^^^^ help: there is a config with a similar name: `docsrs`
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `outline_syscalls`
[INFO] [stdout]   --> src/lib.rs:80:7
[INFO] [stdout]    |
[INFO] [stdout] 80 | #[cfg(outline_syscalls)]
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(outline_syscalls)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(outline_syscalls)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `outline_syscalls`
[INFO] [stdout]    --> src/lib.rs:106:11
[INFO] [stdout]     |
[INFO] [stdout] 106 | #[cfg(not(outline_syscalls))]
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead
[INFO] [stdout]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]              [lints.rust]
[INFO] [stdout]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(outline_syscalls)'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(outline_syscalls)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `thumb_mode`
[INFO] [stdout]    --> src/lib.rs:108:63
[INFO] [stdout]     |
[INFO] [stdout] 108 |     all(target_arch = "arm", target_pointer_width = "32", not(thumb_mode)),
[INFO] [stdout]     |                                                               ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead
[INFO] [stdout]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]              [lints.rust]
[INFO] [stdout]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(thumb_mode)'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(thumb_mode)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `thumb_mode`
[INFO] [stdout]    --> src/lib.rs:112:59
[INFO] [stdout]     |
[INFO] [stdout] 112 |     all(target_arch = "arm", target_pointer_width = "32", thumb_mode),
[INFO] [stdout]     |                                                           ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead
[INFO] [stdout]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]              [lints.rust]
[INFO] [stdout]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(thumb_mode)'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(thumb_mode)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `docs_rs`
[INFO] [stdout]   --> src/env/mod.rs:31:11
[INFO] [stdout]    |
[INFO] [stdout] 31 | #[cfg(any(docs_rs, not(feature = "bare")))]
[INFO] [stdout]    |           ^^^^^^^ help: there is a config with a similar name: `docsrs`
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `docs_rs`
[INFO] [stdout]   --> src/env/mod.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 32 | #[cfg_attr(docs_rs, doc(cfg(not(feature = "bare"))))]
[INFO] [stdout]    |            ^^^^^^^ help: there is a config with a similar name: `docsrs`
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `docs_rs`
[INFO] [stdout]   --> src/env/mod.rs:50:11
[INFO] [stdout]    |
[INFO] [stdout] 50 | #[cfg(any(docs_rs, not(feature = "bare")))]
[INFO] [stdout]    |           ^^^^^^^ help: there is a config with a similar name: `docsrs`
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `docs_rs`
[INFO] [stdout]   --> src/env/mod.rs:51:12
[INFO] [stdout]    |
[INFO] [stdout] 51 | #[cfg_attr(docs_rs, doc(cfg(not(feature = "bare"))))]
[INFO] [stdout]    |            ^^^^^^^ help: there is a config with a similar name: `docsrs`
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `docs_rs`
[INFO] [stdout]   --> src/env/mod.rs:71:11
[INFO] [stdout]    |
[INFO] [stdout] 71 | #[cfg(any(docs_rs, not(feature = "bare")))]
[INFO] [stdout]    |           ^^^^^^^ help: there is a config with a similar name: `docsrs`
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `docs_rs`
[INFO] [stdout]   --> src/env/mod.rs:72:12
[INFO] [stdout]    |
[INFO] [stdout] 72 | #[cfg_attr(docs_rs, doc(cfg(not(feature = "bare"))))]
[INFO] [stdout]    |            ^^^^^^^ help: there is a config with a similar name: `docsrs`
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `docs_rs`
[INFO] [stdout]   --> src/env/mod.rs:90:11
[INFO] [stdout]    |
[INFO] [stdout] 90 | #[cfg(any(docs_rs, not(feature = "bare")))]
[INFO] [stdout]    |           ^^^^^^^ help: there is a config with a similar name: `docsrs`
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `docs_rs`
[INFO] [stdout]   --> src/env/mod.rs:91:12
[INFO] [stdout]    |
[INFO] [stdout] 91 | #[cfg_attr(docs_rs, doc(cfg(not(feature = "bare"))))]
[INFO] [stdout]    |            ^^^^^^^ help: there is a config with a similar name: `docsrs`
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `docs_rs`
[INFO] [stdout]   --> src/init.rs:55:12
[INFO] [stdout]    |
[INFO] [stdout] 55 | #[cfg_attr(docs_rs, doc(cfg(not(feature = "bare"))))]
[INFO] [stdout]    |            ^^^^^^^ help: there is a config with a similar name: `docsrs`
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `asm_experimental_arch`
[INFO] [stdout]   --> src/lib.rs:59:13
[INFO] [stdout]    |
[INFO] [stdout] 59 | #![cfg_attr(asm_experimental_arch, feature(asm_experimental_arch))]
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: expected names are: `docsrs`, `feature`, and `test` and 32 more
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(asm_experimental_arch)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm_experimental_arch)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `docs_rs`
[INFO] [stdout]   --> src/lib.rs:60:13
[INFO] [stdout]    |
[INFO] [stdout] 60 | #![cfg_attr(docs_rs, feature(doc_cfg))]
[INFO] [stdout]    |             ^^^^^^^ help: there is a config with a similar name: `docsrs`
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `outline_syscalls`
[INFO] [stdout]   --> src/lib.rs:80:7
[INFO] [stdout]    |
[INFO] [stdout] 80 | #[cfg(outline_syscalls)]
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(outline_syscalls)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(outline_syscalls)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `outline_syscalls`
[INFO] [stdout]    --> src/lib.rs:106:11
[INFO] [stdout]     |
[INFO] [stdout] 106 | #[cfg(not(outline_syscalls))]
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead
[INFO] [stdout]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]              [lints.rust]
[INFO] [stdout]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(outline_syscalls)'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(outline_syscalls)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `thumb_mode`
[INFO] [stdout]    --> src/lib.rs:108:63
[INFO] [stdout]     |
[INFO] [stdout] 108 |     all(target_arch = "arm", target_pointer_width = "32", not(thumb_mode)),
[INFO] [stdout]     |                                                               ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead
[INFO] [stdout]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]              [lints.rust]
[INFO] [stdout]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(thumb_mode)'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(thumb_mode)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `thumb_mode`
[INFO] [stdout]    --> src/lib.rs:112:59
[INFO] [stdout]     |
[INFO] [stdout] 112 |     all(target_arch = "arm", target_pointer_width = "32", thumb_mode),
[INFO] [stdout]     |                                                           ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead
[INFO] [stdout]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]              [lints.rust]
[INFO] [stdout]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(thumb_mode)'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(thumb_mode)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `docs_rs`
[INFO] [stdout]   --> src/env/mod.rs:31:11
[INFO] [stdout]    |
[INFO] [stdout] 31 | #[cfg(any(docs_rs, not(feature = "bare")))]
[INFO] [stdout]    |           ^^^^^^^ help: there is a config with a similar name: `docsrs`
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `docs_rs`
[INFO] [stdout]   --> src/env/mod.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 32 | #[cfg_attr(docs_rs, doc(cfg(not(feature = "bare"))))]
[INFO] [stdout]    |            ^^^^^^^ help: there is a config with a similar name: `docsrs`
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `docs_rs`
[INFO] [stdout]   --> src/env/mod.rs:50:11
[INFO] [stdout]    |
[INFO] [stdout] 50 | #[cfg(any(docs_rs, not(feature = "bare")))]
[INFO] [stdout]    |           ^^^^^^^ help: there is a config with a similar name: `docsrs`
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `docs_rs`
[INFO] [stdout]   --> src/env/mod.rs:51:12
[INFO] [stdout]    |
[INFO] [stdout] 51 | #[cfg_attr(docs_rs, doc(cfg(not(feature = "bare"))))]
[INFO] [stdout]    |            ^^^^^^^ help: there is a config with a similar name: `docsrs`
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `docs_rs`
[INFO] [stdout]   --> src/env/mod.rs:71:11
[INFO] [stdout]    |
[INFO] [stdout] 71 | #[cfg(any(docs_rs, not(feature = "bare")))]
[INFO] [stdout]    |           ^^^^^^^ help: there is a config with a similar name: `docsrs`
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `docs_rs`
[INFO] [stdout]   --> src/env/mod.rs:72:12
[INFO] [stdout]    |
[INFO] [stdout] 72 | #[cfg_attr(docs_rs, doc(cfg(not(feature = "bare"))))]
[INFO] [stdout]    |            ^^^^^^^ help: there is a config with a similar name: `docsrs`
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `docs_rs`
[INFO] [stdout]   --> src/env/mod.rs:90:11
[INFO] [stdout]    |
[INFO] [stdout] 90 | #[cfg(any(docs_rs, not(feature = "bare")))]
[INFO] [stdout]    |           ^^^^^^^ help: there is a config with a similar name: `docsrs`
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `docs_rs`
[INFO] [stdout]   --> src/env/mod.rs:91:12
[INFO] [stdout]    |
[INFO] [stdout] 91 | #[cfg_attr(docs_rs, doc(cfg(not(feature = "bare"))))]
[INFO] [stdout]    |            ^^^^^^^ help: there is a config with a similar name: `docsrs`
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `docs_rs`
[INFO] [stdout]   --> src/init.rs:55:12
[INFO] [stdout]    |
[INFO] [stdout] 55 | #[cfg_attr(docs_rs, doc(cfg(not(feature = "bare"))))]
[INFO] [stdout]    |            ^^^^^^^ help: there is a config with a similar name: `docsrs`
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/env/aux/mod.rs:138:26
[INFO] [stdout]     |
[INFO] [stdout] 138 |                           *AUXV.get_unchecked_mut($name::N) = Some((*ptr).a_un);
[INFO] [stdout]     |                            ^^^^ mutable reference to mutable static
[INFO] [stdout] ...
[INFO] [stdout] 153 | / def_keys! {
[INFO] [stdout] 154 | |     /// File descriptor of program (AT_EXECFD).
[INFO] [stdout] 155 | |     ExecFd(2) -> i32,
[INFO] [stdout] 156 | |     /// Program headers for program (AT_PHDR).
[INFO] [stdout] ...   |
[INFO] [stdout] 241 | |     MinimalSignalStackSize(51) -> usize,
[INFO] [stdout] 242 | | }
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout]     = note: this warning originates in the macro `def_keys` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/env/aux/mod.rs:248:5
[INFO] [stdout]     |
[INFO] [stdout] 248 |     AUXV.get_unchecked(T::N).map(<T::Item as AuxValue>::from)
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/env/kernel/mod.rs:11:28
[INFO] [stdout]     |
[INFO] [stdout]  11 |     syscall!(Sysno::uname, self::common::UNAME.get()).expect("Failed to get uname");
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    --> src/env/kernel/common.rs:143:19
[INFO] [stdout]     |
[INFO] [stdout] 143 - pub(crate) static mut UNAME: UnsafeCell<utsname> = UnsafeCell::new(utsname {
[INFO] [stdout] 143 + pub(crate) static UNAME: UnsafeCell<utsname> = UnsafeCell::new(utsname {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/env/kernel/common.rs:154:27
[INFO] [stdout]     |
[INFO] [stdout] 154 |     let release = cstr(&(*UNAME.get()).release);
[INFO] [stdout]     |                           ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 143 - pub(crate) static mut UNAME: UnsafeCell<utsname> = UnsafeCell::new(utsname {
[INFO] [stdout] 143 + pub(crate) static UNAME: UnsafeCell<utsname> = UnsafeCell::new(utsname {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/env/kernel/common.rs:174:19
[INFO] [stdout]     |
[INFO] [stdout] 174 |     let k = &mut *KERNEL_VERSION.get();
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 151 - pub(crate) static mut KERNEL_VERSION: UnsafeCell<Version> = UnsafeCell::new(kversion!(0));
[INFO] [stdout] 151 + pub(crate) static KERNEL_VERSION: UnsafeCell<Version> = UnsafeCell::new(kversion!(0));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/env/kernel/common.rs:220:7
[INFO] [stdout]     |
[INFO] [stdout] 220 |     &*KERNEL_VERSION.get()
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 151 - pub(crate) static mut KERNEL_VERSION: UnsafeCell<Version> = UnsafeCell::new(kversion!(0));
[INFO] [stdout] 151 + pub(crate) static KERNEL_VERSION: UnsafeCell<Version> = UnsafeCell::new(kversion!(0));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/env/kernel/common.rs:225:7
[INFO] [stdout]     |
[INFO] [stdout] 225 |     &*UNAME.get()
[INFO] [stdout]     |       ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 143 - pub(crate) static mut UNAME: UnsafeCell<utsname> = UnsafeCell::new(utsname {
[INFO] [stdout] 143 + pub(crate) static UNAME: UnsafeCell<utsname> = UnsafeCell::new(utsname {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/env/vdso/mod.rs:25:7
[INFO] [stdout]    |
[INFO] [stdout] 25 |     &*self::VDSO.get()
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]   --> src/env/vdso/x86_64.rs:36:19
[INFO] [stdout]    |
[INFO] [stdout] 36 - pub(crate) static mut VDSO: UnsafeCell<Vdso> = UnsafeCell::new(Vdso(RawVdso {
[INFO] [stdout] 36 + pub(crate) static VDSO: UnsafeCell<Vdso> = UnsafeCell::new(Vdso(RawVdso {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/env/vdso/x86_64.rs:47:11
[INFO] [stdout]    |
[INFO] [stdout] 47 |         (*VDSO.get()).0 = vdso;
[INFO] [stdout]    |           ^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 36 - pub(crate) static mut VDSO: UnsafeCell<Vdso> = UnsafeCell::new(Vdso(RawVdso {
[INFO] [stdout] 36 + pub(crate) static VDSO: UnsafeCell<Vdso> = UnsafeCell::new(Vdso(RawVdso {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/init.rs:100:15
[INFO] [stdout]     |
[INFO] [stdout] 100 |         match LOCK.compare_exchange_weak(INITIAL, RUNNING, Ordering::Acquire, Ordering::Relaxed) {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  17 - static mut LOCK: AtomicU32 = AtomicU32::new(INITIAL);
[INFO] [stdout]  17 + static LOCK: AtomicU32 = AtomicU32::new(INITIAL);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/init.rs:104:17
[INFO] [stdout]     |
[INFO] [stdout] 104 |                 LOCK.store(COMPLETE, Ordering::Release);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  17 - static mut LOCK: AtomicU32 = AtomicU32::new(INITIAL);
[INFO] [stdout]  17 + static LOCK: AtomicU32 = AtomicU32::new(INITIAL);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/init.rs:139:16
[INFO] [stdout]     |
[INFO] [stdout] 139 |             if LOCK.load(Ordering::Relaxed) == RUNNING {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  17 - static mut LOCK: AtomicU32 = AtomicU32::new(INITIAL);
[INFO] [stdout]  17 + static LOCK: AtomicU32 = AtomicU32::new(INITIAL);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/init.rs:140:17
[INFO] [stdout]     |
[INFO] [stdout] 140 |                 LOCK.store(PANICKED, Ordering::Relaxed);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  17 - static mut LOCK: AtomicU32 = AtomicU32::new(INITIAL);
[INFO] [stdout]  17 + static LOCK: AtomicU32 = AtomicU32::new(INITIAL);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/env/aux/mod.rs:138:26
[INFO] [stdout]     |
[INFO] [stdout] 138 |                           *AUXV.get_unchecked_mut($name::N) = Some((*ptr).a_un);
[INFO] [stdout]     |                            ^^^^ mutable reference to mutable static
[INFO] [stdout] ...
[INFO] [stdout] 153 | / def_keys! {
[INFO] [stdout] 154 | |     /// File descriptor of program (AT_EXECFD).
[INFO] [stdout] 155 | |     ExecFd(2) -> i32,
[INFO] [stdout] 156 | |     /// Program headers for program (AT_PHDR).
[INFO] [stdout] ...   |
[INFO] [stdout] 241 | |     MinimalSignalStackSize(51) -> usize,
[INFO] [stdout] 242 | | }
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout]     = note: this warning originates in the macro `def_keys` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/env/aux/mod.rs:248:5
[INFO] [stdout]     |
[INFO] [stdout] 248 |     AUXV.get_unchecked(T::N).map(<T::Item as AuxValue>::from)
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/env/kernel/mod.rs:11:28
[INFO] [stdout]     |
[INFO] [stdout]  11 |     syscall!(Sysno::uname, self::common::UNAME.get()).expect("Failed to get uname");
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    --> src/env/kernel/common.rs:143:19
[INFO] [stdout]     |
[INFO] [stdout] 143 - pub(crate) static mut UNAME: UnsafeCell<utsname> = UnsafeCell::new(utsname {
[INFO] [stdout] 143 + pub(crate) static UNAME: UnsafeCell<utsname> = UnsafeCell::new(utsname {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/env/kernel/common.rs:154:27
[INFO] [stdout]     |
[INFO] [stdout] 154 |     let release = cstr(&(*UNAME.get()).release);
[INFO] [stdout]     |                           ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 143 - pub(crate) static mut UNAME: UnsafeCell<utsname> = UnsafeCell::new(utsname {
[INFO] [stdout] 143 + pub(crate) static UNAME: UnsafeCell<utsname> = UnsafeCell::new(utsname {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/env/kernel/common.rs:174:19
[INFO] [stdout]     |
[INFO] [stdout] 174 |     let k = &mut *KERNEL_VERSION.get();
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 151 - pub(crate) static mut KERNEL_VERSION: UnsafeCell<Version> = UnsafeCell::new(kversion!(0));
[INFO] [stdout] 151 + pub(crate) static KERNEL_VERSION: UnsafeCell<Version> = UnsafeCell::new(kversion!(0));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/env/kernel/common.rs:220:7
[INFO] [stdout]     |
[INFO] [stdout] 220 |     &*KERNEL_VERSION.get()
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 151 - pub(crate) static mut KERNEL_VERSION: UnsafeCell<Version> = UnsafeCell::new(kversion!(0));
[INFO] [stdout] 151 + pub(crate) static KERNEL_VERSION: UnsafeCell<Version> = UnsafeCell::new(kversion!(0));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/env/kernel/common.rs:225:7
[INFO] [stdout]     |
[INFO] [stdout] 225 |     &*UNAME.get()
[INFO] [stdout]     |       ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 143 - pub(crate) static mut UNAME: UnsafeCell<utsname> = UnsafeCell::new(utsname {
[INFO] [stdout] 143 + pub(crate) static UNAME: UnsafeCell<utsname> = UnsafeCell::new(utsname {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/env/vdso/mod.rs:25:7
[INFO] [stdout]    |
[INFO] [stdout] 25 |     &*self::VDSO.get()
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]   --> src/env/vdso/x86_64.rs:36:19
[INFO] [stdout]    |
[INFO] [stdout] 36 - pub(crate) static mut VDSO: UnsafeCell<Vdso> = UnsafeCell::new(Vdso(RawVdso {
[INFO] [stdout] 36 + pub(crate) static VDSO: UnsafeCell<Vdso> = UnsafeCell::new(Vdso(RawVdso {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/env/vdso/x86_64.rs:47:11
[INFO] [stdout]    |
[INFO] [stdout] 47 |         (*VDSO.get()).0 = vdso;
[INFO] [stdout]    |           ^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 36 - pub(crate) static mut VDSO: UnsafeCell<Vdso> = UnsafeCell::new(Vdso(RawVdso {
[INFO] [stdout] 36 + pub(crate) static VDSO: UnsafeCell<Vdso> = UnsafeCell::new(Vdso(RawVdso {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/init.rs:100:15
[INFO] [stdout]     |
[INFO] [stdout] 100 |         match LOCK.compare_exchange_weak(INITIAL, RUNNING, Ordering::Acquire, Ordering::Relaxed) {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  17 - static mut LOCK: AtomicU32 = AtomicU32::new(INITIAL);
[INFO] [stdout]  17 + static LOCK: AtomicU32 = AtomicU32::new(INITIAL);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/init.rs:104:17
[INFO] [stdout]     |
[INFO] [stdout] 104 |                 LOCK.store(COMPLETE, Ordering::Release);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  17 - static mut LOCK: AtomicU32 = AtomicU32::new(INITIAL);
[INFO] [stdout]  17 + static LOCK: AtomicU32 = AtomicU32::new(INITIAL);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/init.rs:139:16
[INFO] [stdout]     |
[INFO] [stdout] 139 |             if LOCK.load(Ordering::Relaxed) == RUNNING {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  17 - static mut LOCK: AtomicU32 = AtomicU32::new(INITIAL);
[INFO] [stdout]  17 + static LOCK: AtomicU32 = AtomicU32::new(INITIAL);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/init.rs:140:17
[INFO] [stdout]     |
[INFO] [stdout] 140 |                 LOCK.store(PANICKED, Ordering::Relaxed);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  17 - static mut LOCK: AtomicU32 = AtomicU32::new(INITIAL);
[INFO] [stdout]  17 + static LOCK: AtomicU32 = AtomicU32::new(INITIAL);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.78s
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2018 edition to 2021
[INFO] [stderr]     Checking linux-syscalls v0.4.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/env/aux/mod.rs:138:26
[INFO] [stdout]     |
[INFO] [stdout] 138 |                           *AUXV.get_unchecked_mut($name::N) = Some((*ptr).a_un);
[INFO] [stdout]     |                            ^^^^ mutable reference to mutable static
[INFO] [stdout] ...
[INFO] [stdout] 153 | / def_keys! {
[INFO] [stdout] 154 | |     /// File descriptor of program (AT_EXECFD).
[INFO] [stdout] 155 | |     ExecFd(2) -> i32,
[INFO] [stdout] 156 | |     /// Program headers for program (AT_PHDR).
[INFO] [stdout] ...   |
[INFO] [stdout] 241 | |     MinimalSignalStackSize(51) -> usize,
[INFO] [stdout] 242 | | }
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout]     = note: this warning originates in the macro `def_keys` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]        Fixed src/macros/mod.rs (116 fixes)
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/env/aux/mod.rs:248:5
[INFO] [stdout]     |
[INFO] [stdout] 248 |     AUXV.get_unchecked(T::N).map(<T::Item as AuxValue>::from)
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]        Fixed src/env/vdso/mod.rs (1 fix)
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/env/kernel/mod.rs:11:28
[INFO] [stdout]     |
[INFO] [stdout]  11 |     syscall!(Sysno::uname, self::common::UNAME.get()).expect("Failed to get uname");
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    --> src/env/kernel/common.rs:143:19
[INFO] [stdout]     |
[INFO] [stdout] 143 - pub(crate) static mut UNAME: UnsafeCell<utsname> = UnsafeCell::new(utsname {
[INFO] [stdout] 143 + pub(crate) static UNAME: UnsafeCell<utsname> = UnsafeCell::new(utsname {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]        Fixed src/inline/_syscalls.rs (13 fixes)
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/env/kernel/common.rs:154:27
[INFO] [stdout]     |
[INFO] [stdout] 154 |     let release = cstr(&(*UNAME.get()).release);
[INFO] [stdout]     |                           ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 143 - pub(crate) static mut UNAME: UnsafeCell<utsname> = UnsafeCell::new(utsname {
[INFO] [stdout] 143 + pub(crate) static UNAME: UnsafeCell<utsname> = UnsafeCell::new(utsname {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]        Fixed src/bitflags.rs (1 fix)
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/env/kernel/common.rs:174:19
[INFO] [stdout]     |
[INFO] [stdout] 174 |     let k = &mut *KERNEL_VERSION.get();
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 151 - pub(crate) static mut KERNEL_VERSION: UnsafeCell<Version> = UnsafeCell::new(kversion!(0));
[INFO] [stdout] 151 + pub(crate) static KERNEL_VERSION: UnsafeCell<Version> = UnsafeCell::new(kversion!(0));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]        Fixed src/env/kernel/mod.rs (1 fix)
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/env/kernel/common.rs:220:7
[INFO] [stdout]     |
[INFO] [stdout] 220 |     &*KERNEL_VERSION.get()
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 151 - pub(crate) static mut KERNEL_VERSION: UnsafeCell<Version> = UnsafeCell::new(kversion!(0));
[INFO] [stdout] 151 + pub(crate) static KERNEL_VERSION: UnsafeCell<Version> = UnsafeCell::new(kversion!(0));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]        Fixed src/inline/x86_64.rs (14 fixes)
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/env/kernel/common.rs:225:7
[INFO] [stdout]     |
[INFO] [stdout] 225 |     &*UNAME.get()
[INFO] [stdout]     |       ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 143 - pub(crate) static mut UNAME: UnsafeCell<utsname> = UnsafeCell::new(utsname {
[INFO] [stdout] 143 + pub(crate) static UNAME: UnsafeCell<utsname> = UnsafeCell::new(utsname {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]        Fixed src/env/aux/mod.rs (5 fixes)
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/env/vdso/mod.rs:25:7
[INFO] [stdout]    |
[INFO] [stdout] 25 |     &*self::VDSO.get()
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]   --> src/env/vdso/x86_64.rs:36:19
[INFO] [stdout]    |
[INFO] [stdout] 36 - pub(crate) static mut VDSO: UnsafeCell<Vdso> = UnsafeCell::new(Vdso(RawVdso {
[INFO] [stdout] 36 + pub(crate) static VDSO: UnsafeCell<Vdso> = UnsafeCell::new(Vdso(RawVdso {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]        Fixed src/init.rs (5 fixes)
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/env/vdso/x86_64.rs:47:11
[INFO] [stdout]    |
[INFO] [stdout] 47 |         (*VDSO.get()).0 = vdso;
[INFO] [stdout]    |           ^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 36 - pub(crate) static mut VDSO: UnsafeCell<Vdso> = UnsafeCell::new(Vdso(RawVdso {
[INFO] [stdout] 36 + pub(crate) static VDSO: UnsafeCell<Vdso> = UnsafeCell::new(Vdso(RawVdso {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]        Fixed src/env/mod.rs (4 fixes)
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/init.rs:100:15
[INFO] [stdout]     |
[INFO] [stdout] 100 |         match LOCK.compare_exchange_weak(INITIAL, RUNNING, Ordering::Acquire, Ordering::Relaxed) {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  17 - static mut LOCK: AtomicU32 = AtomicU32::new(INITIAL);
[INFO] [stdout]  17 + static LOCK: AtomicU32 = AtomicU32::new(INITIAL);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]        Fixed src/env/kernel/common.rs (10 fixes)
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/init.rs:104:17
[INFO] [stdout]     |
[INFO] [stdout] 104 |                 LOCK.store(COMPLETE, Ordering::Release);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  17 - static mut LOCK: AtomicU32 = AtomicU32::new(INITIAL);
[INFO] [stdout]  17 + static LOCK: AtomicU32 = AtomicU32::new(INITIAL);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]        Fixed src/env/vdso/x86_64.rs (1 fix)
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/init.rs:139:16
[INFO] [stdout]     |
[INFO] [stdout] 139 |             if LOCK.load(Ordering::Relaxed) == RUNNING {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  17 - static mut LOCK: AtomicU32 = AtomicU32::new(INITIAL);
[INFO] [stdout]  17 + static LOCK: AtomicU32 = AtomicU32::new(INITIAL);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/init.rs:140:17
[INFO] [stdout]     |
[INFO] [stdout] 140 |                 LOCK.store(PANICKED, Ordering::Relaxed);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  17 - static mut LOCK: AtomicU32 = AtomicU32::new(INITIAL);
[INFO] [stdout]  17 + static LOCK: AtomicU32 = AtomicU32::new(INITIAL);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/env/aux/mod.rs:138:26
[INFO] [stdout]     |
[INFO] [stdout] 138 |                           *AUXV.get_unchecked_mut($name::N) = Some((*ptr).a_un);
[INFO] [stdout]     |                            ^^^^ mutable reference to mutable static
[INFO] [stdout] ...
[INFO] [stdout] 153 | / def_keys! {
[INFO] [stdout] 154 | |     /// File descriptor of program (AT_EXECFD).
[INFO] [stdout] 155 | |     ExecFd(2) -> i32,
[INFO] [stdout] 156 | |     /// Program headers for program (AT_PHDR).
[INFO] [stdout] ...   |
[INFO] [stdout] 241 | |     MinimalSignalStackSize(51) -> usize,
[INFO] [stdout] 242 | | }
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `--force-warn static-mut-refs` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout]     = note: this warning originates in the macro `def_keys` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/env/aux/mod.rs:248:5
[INFO] [stdout]     |
[INFO] [stdout] 248 |     AUXV.get_unchecked(T::N).map(<T::Item as AuxValue>::from)
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/env/kernel/mod.rs:11:28
[INFO] [stdout]     |
[INFO] [stdout]  11 |     syscall!(Sysno::uname, self::common::UNAME.get()).expect("Failed to get uname");
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    --> src/env/kernel/common.rs:143:19
[INFO] [stdout]     |
[INFO] [stdout] 143 - pub(crate) static mut UNAME: UnsafeCell<utsname> = UnsafeCell::new(utsname {
[INFO] [stdout] 143 + pub(crate) static UNAME: UnsafeCell<utsname> = UnsafeCell::new(utsname {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/env/kernel/common.rs:154:27
[INFO] [stdout]     |
[INFO] [stdout] 154 |     let release = cstr(&(*UNAME.get()).release);
[INFO] [stdout]     |                           ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 143 - pub(crate) static mut UNAME: UnsafeCell<utsname> = UnsafeCell::new(utsname {
[INFO] [stdout] 143 + pub(crate) static UNAME: UnsafeCell<utsname> = UnsafeCell::new(utsname {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/env/kernel/common.rs:174:19
[INFO] [stdout]     |
[INFO] [stdout] 174 |     let k = &mut *KERNEL_VERSION.get();
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 151 - pub(crate) static mut KERNEL_VERSION: UnsafeCell<Version> = UnsafeCell::new(kversion!(0));
[INFO] [stdout] 151 + pub(crate) static KERNEL_VERSION: UnsafeCell<Version> = UnsafeCell::new(kversion!(0));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/env/kernel/common.rs:220:7
[INFO] [stdout]     |
[INFO] [stdout] 220 |     &*KERNEL_VERSION.get()
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 151 - pub(crate) static mut KERNEL_VERSION: UnsafeCell<Version> = UnsafeCell::new(kversion!(0));
[INFO] [stdout] 151 + pub(crate) static KERNEL_VERSION: UnsafeCell<Version> = UnsafeCell::new(kversion!(0));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/env/kernel/common.rs:225:7
[INFO] [stdout]     |
[INFO] [stdout] 225 |     &*UNAME.get()
[INFO] [stdout]     |       ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 143 - pub(crate) static mut UNAME: UnsafeCell<utsname> = UnsafeCell::new(utsname {
[INFO] [stdout] 143 + pub(crate) static UNAME: UnsafeCell<utsname> = UnsafeCell::new(utsname {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/env/vdso/mod.rs:25:7
[INFO] [stdout]    |
[INFO] [stdout] 25 |     &*self::VDSO.get()
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]   --> src/env/vdso/x86_64.rs:36:19
[INFO] [stdout]    |
[INFO] [stdout] 36 - pub(crate) static mut VDSO: UnsafeCell<Vdso> = UnsafeCell::new(Vdso(RawVdso {
[INFO] [stdout] 36 + pub(crate) static VDSO: UnsafeCell<Vdso> = UnsafeCell::new(Vdso(RawVdso {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/env/vdso/x86_64.rs:47:11
[INFO] [stdout]    |
[INFO] [stdout] 47 |         (*VDSO.get()).0 = vdso;
[INFO] [stdout]    |           ^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 36 - pub(crate) static mut VDSO: UnsafeCell<Vdso> = UnsafeCell::new(Vdso(RawVdso {
[INFO] [stdout] 36 + pub(crate) static VDSO: UnsafeCell<Vdso> = UnsafeCell::new(Vdso(RawVdso {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/init.rs:100:15
[INFO] [stdout]     |
[INFO] [stdout] 100 |         match LOCK.compare_exchange_weak(INITIAL, RUNNING, Ordering::Acquire, Ordering::Relaxed) {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  17 - static mut LOCK: AtomicU32 = AtomicU32::new(INITIAL);
[INFO] [stdout]  17 + static LOCK: AtomicU32 = AtomicU32::new(INITIAL);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/init.rs:104:17
[INFO] [stdout]     |
[INFO] [stdout] 104 |                 LOCK.store(COMPLETE, Ordering::Release);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  17 - static mut LOCK: AtomicU32 = AtomicU32::new(INITIAL);
[INFO] [stdout]  17 + static LOCK: AtomicU32 = AtomicU32::new(INITIAL);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/init.rs:139:16
[INFO] [stdout]     |
[INFO] [stdout] 139 |             if LOCK.load(Ordering::Relaxed) == RUNNING {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  17 - static mut LOCK: AtomicU32 = AtomicU32::new(INITIAL);
[INFO] [stdout]  17 + static LOCK: AtomicU32 = AtomicU32::new(INITIAL);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/init.rs:140:17
[INFO] [stdout]     |
[INFO] [stdout] 140 |                 LOCK.store(PANICKED, Ordering::Relaxed);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  17 - static mut LOCK: AtomicU32 = AtomicU32::new(INITIAL);
[INFO] [stdout]  17 + static LOCK: AtomicU32 = AtomicU32::new(INITIAL);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating examples/kernel_exit.rs from 2021 edition to 2024
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 5.77s
[INFO] [stderr] crater-edition-check: linux-syscalls v0.4.0 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]    Compiling linux-syscalls v0.4.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unexpected `cfg` condition name: `asm_experimental_arch`
[INFO] [stdout]   --> src/lib.rs:59:13
[INFO] [stdout]    |
[INFO] [stdout] 59 | #![cfg_attr(asm_experimental_arch, feature(asm_experimental_arch))]
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: expected names are: `docsrs`, `feature`, and `test` and 32 more
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(asm_experimental_arch)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm_experimental_arch)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `docs_rs`
[INFO] [stdout]   --> src/lib.rs:60:13
[INFO] [stdout]    |
[INFO] [stdout] 60 | #![cfg_attr(docs_rs, feature(doc_cfg))]
[INFO] [stdout]    |             ^^^^^^^ help: there is a config with a similar name: `docsrs`
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `outline_syscalls`
[INFO] [stdout]   --> src/lib.rs:80:7
[INFO] [stdout]    |
[INFO] [stdout] 80 | #[cfg(outline_syscalls)]
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(outline_syscalls)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(outline_syscalls)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `outline_syscalls`
[INFO] [stdout]    --> src/lib.rs:106:11
[INFO] [stdout]     |
[INFO] [stdout] 106 | #[cfg(not(outline_syscalls))]
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead
[INFO] [stdout]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]              [lints.rust]
[INFO] [stdout]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(outline_syscalls)'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(outline_syscalls)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `thumb_mode`
[INFO] [stdout]    --> src/lib.rs:108:63
[INFO] [stdout]     |
[INFO] [stdout] 108 |     all(target_arch = "arm", target_pointer_width = "32", not(thumb_mode)),
[INFO] [stdout]     |                                                               ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead
[INFO] [stdout]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]              [lints.rust]
[INFO] [stdout]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(thumb_mode)'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(thumb_mode)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `thumb_mode`
[INFO] [stdout]    --> src/lib.rs:112:59
[INFO] [stdout]     |
[INFO] [stdout] 112 |     all(target_arch = "arm", target_pointer_width = "32", thumb_mode),
[INFO] [stdout]     |                                                           ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead
[INFO] [stdout]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]              [lints.rust]
[INFO] [stdout]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(thumb_mode)'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(thumb_mode)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `docs_rs`
[INFO] [stdout]   --> src/env/mod.rs:31:11
[INFO] [stdout]    |
[INFO] [stdout] 31 | #[cfg(any(docs_rs, not(feature = "bare")))]
[INFO] [stdout]    |           ^^^^^^^ help: there is a config with a similar name: `docsrs`
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `docs_rs`
[INFO] [stdout]   --> src/env/mod.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 32 | #[cfg_attr(docs_rs, doc(cfg(not(feature = "bare"))))]
[INFO] [stdout]    |            ^^^^^^^ help: there is a config with a similar name: `docsrs`
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `docs_rs`
[INFO] [stdout]   --> src/env/mod.rs:50:11
[INFO] [stdout]    |
[INFO] [stdout] 50 | #[cfg(any(docs_rs, not(feature = "bare")))]
[INFO] [stdout]    |           ^^^^^^^ help: there is a config with a similar name: `docsrs`
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `docs_rs`
[INFO] [stdout]   --> src/env/mod.rs:51:12
[INFO] [stdout]    |
[INFO] [stdout] 51 | #[cfg_attr(docs_rs, doc(cfg(not(feature = "bare"))))]
[INFO] [stdout]    |            ^^^^^^^ help: there is a config with a similar name: `docsrs`
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `docs_rs`
[INFO] [stdout]   --> src/env/mod.rs:71:11
[INFO] [stdout]    |
[INFO] [stdout] 71 | #[cfg(any(docs_rs, not(feature = "bare")))]
[INFO] [stdout]    |           ^^^^^^^ help: there is a config with a similar name: `docsrs`
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `docs_rs`
[INFO] [stdout]   --> src/env/mod.rs:72:12
[INFO] [stdout]    |
[INFO] [stdout] 72 | #[cfg_attr(docs_rs, doc(cfg(not(feature = "bare"))))]
[INFO] [stdout]    |            ^^^^^^^ help: there is a config with a similar name: `docsrs`
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `docs_rs`
[INFO] [stdout]   --> src/env/mod.rs:90:11
[INFO] [stdout]    |
[INFO] [stdout] 90 | #[cfg(any(docs_rs, not(feature = "bare")))]
[INFO] [stdout]    |           ^^^^^^^ help: there is a config with a similar name: `docsrs`
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `docs_rs`
[INFO] [stdout]   --> src/env/mod.rs:91:12
[INFO] [stdout]    |
[INFO] [stdout] 91 | #[cfg_attr(docs_rs, doc(cfg(not(feature = "bare"))))]
[INFO] [stdout]    |            ^^^^^^^ help: there is a config with a similar name: `docsrs`
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `docs_rs`
[INFO] [stdout]   --> src/init.rs:55:12
[INFO] [stdout]    |
[INFO] [stdout] 55 | #[cfg_attr(docs_rs, doc(cfg(not(feature = "bare"))))]
[INFO] [stdout]    |            ^^^^^^^ help: there is a config with a similar name: `docsrs`
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `asm_experimental_arch`
[INFO] [stdout]   --> src/lib.rs:59:13
[INFO] [stdout]    |
[INFO] [stdout] 59 | #![cfg_attr(asm_experimental_arch, feature(asm_experimental_arch))]
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: expected names are: `docsrs`, `feature`, and `test` and 32 more
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(asm_experimental_arch)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(asm_experimental_arch)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout]    = note: `#[warn(unexpected_cfgs)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `docs_rs`
[INFO] [stdout]   --> src/lib.rs:60:13
[INFO] [stdout]    |
[INFO] [stdout] 60 | #![cfg_attr(docs_rs, feature(doc_cfg))]
[INFO] [stdout]    |             ^^^^^^^ help: there is a config with a similar name: `docsrs`
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `outline_syscalls`
[INFO] [stdout]   --> src/lib.rs:80:7
[INFO] [stdout]    |
[INFO] [stdout] 80 | #[cfg(outline_syscalls)]
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(outline_syscalls)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(outline_syscalls)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `outline_syscalls`
[INFO] [stdout]    --> src/lib.rs:106:11
[INFO] [stdout]     |
[INFO] [stdout] 106 | #[cfg(not(outline_syscalls))]
[INFO] [stdout]     |           ^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead
[INFO] [stdout]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]              [lints.rust]
[INFO] [stdout]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(outline_syscalls)'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(outline_syscalls)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `thumb_mode`
[INFO] [stdout]    --> src/lib.rs:108:63
[INFO] [stdout]     |
[INFO] [stdout] 108 |     all(target_arch = "arm", target_pointer_width = "32", not(thumb_mode)),
[INFO] [stdout]     |                                                               ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead
[INFO] [stdout]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]              [lints.rust]
[INFO] [stdout]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(thumb_mode)'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(thumb_mode)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `thumb_mode`
[INFO] [stdout]    --> src/lib.rs:112:59
[INFO] [stdout]     |
[INFO] [stdout] 112 |     all(target_arch = "arm", target_pointer_width = "32", thumb_mode),
[INFO] [stdout]     |                                                           ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: consider using a Cargo feature instead
[INFO] [stdout]     = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]              [lints.rust]
[INFO] [stdout]              unexpected_cfgs = { level = "warn", check-cfg = ['cfg(thumb_mode)'] }
[INFO] [stdout]     = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(thumb_mode)");` to the top of the `build.rs`
[INFO] [stdout]     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `docs_rs`
[INFO] [stdout]   --> src/env/mod.rs:31:11
[INFO] [stdout]    |
[INFO] [stdout] 31 | #[cfg(any(docs_rs, not(feature = "bare")))]
[INFO] [stdout]    |           ^^^^^^^ help: there is a config with a similar name: `docsrs`
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `docs_rs`
[INFO] [stdout]   --> src/env/mod.rs:32:12
[INFO] [stdout]    |
[INFO] [stdout] 32 | #[cfg_attr(docs_rs, doc(cfg(not(feature = "bare"))))]
[INFO] [stdout]    |            ^^^^^^^ help: there is a config with a similar name: `docsrs`
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `docs_rs`
[INFO] [stdout]   --> src/env/mod.rs:50:11
[INFO] [stdout]    |
[INFO] [stdout] 50 | #[cfg(any(docs_rs, not(feature = "bare")))]
[INFO] [stdout]    |           ^^^^^^^ help: there is a config with a similar name: `docsrs`
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `docs_rs`
[INFO] [stdout]   --> src/env/mod.rs:51:12
[INFO] [stdout]    |
[INFO] [stdout] 51 | #[cfg_attr(docs_rs, doc(cfg(not(feature = "bare"))))]
[INFO] [stdout]    |            ^^^^^^^ help: there is a config with a similar name: `docsrs`
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `docs_rs`
[INFO] [stdout]   --> src/env/mod.rs:71:11
[INFO] [stdout]    |
[INFO] [stdout] 71 | #[cfg(any(docs_rs, not(feature = "bare")))]
[INFO] [stdout]    |           ^^^^^^^ help: there is a config with a similar name: `docsrs`
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `docs_rs`
[INFO] [stdout]   --> src/env/mod.rs:72:12
[INFO] [stdout]    |
[INFO] [stdout] 72 | #[cfg_attr(docs_rs, doc(cfg(not(feature = "bare"))))]
[INFO] [stdout]    |            ^^^^^^^ help: there is a config with a similar name: `docsrs`
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `docs_rs`
[INFO] [stdout]   --> src/env/mod.rs:90:11
[INFO] [stdout]    |
[INFO] [stdout] 90 | #[cfg(any(docs_rs, not(feature = "bare")))]
[INFO] [stdout]    |           ^^^^^^^ help: there is a config with a similar name: `docsrs`
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `docs_rs`
[INFO] [stdout]   --> src/env/mod.rs:91:12
[INFO] [stdout]    |
[INFO] [stdout] 91 | #[cfg_attr(docs_rs, doc(cfg(not(feature = "bare"))))]
[INFO] [stdout]    |            ^^^^^^^ help: there is a config with a similar name: `docsrs`
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unexpected `cfg` condition name: `docs_rs`
[INFO] [stdout]   --> src/init.rs:55:12
[INFO] [stdout]    |
[INFO] [stdout] 55 | #[cfg_attr(docs_rs, doc(cfg(not(feature = "bare"))))]
[INFO] [stdout]    |            ^^^^^^^ help: there is a config with a similar name: `docsrs`
[INFO] [stdout]    |
[INFO] [stdout]    = help: consider using a Cargo feature instead
[INFO] [stdout]    = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint:
[INFO] [stdout]             [lints.rust]
[INFO] [stdout]             unexpected_cfgs = { level = "warn", check-cfg = ['cfg(docs_rs)'] }
[INFO] [stdout]    = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(docs_rs)");` to the top of the `build.rs`
[INFO] [stdout]    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/env/vdso/x86_64.rs:45:65
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub(crate) unsafe fn init() { unsafe {
[INFO] [stdout]    |                               ------ because it's nested under this `unsafe` block
[INFO] [stdout] 44 |     if let Some(vdso) =
[INFO] [stdout] 45 |         crate::env::aux::get::<SysInfoHeader>().and_then(|info| unsafe { RawVdso::from_ptr(info) })
[INFO] [stdout]    |                                                                 ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/env/aux/mod.rs:138:26
[INFO] [stdout]     |
[INFO] [stdout] 138 |                           *AUXV.get_unchecked_mut($name::N) = Some((*ptr).a_un);
[INFO] [stdout]     |                            ^^^^ mutable reference to mutable static
[INFO] [stdout] ...
[INFO] [stdout] 153 | / def_keys! {
[INFO] [stdout] 154 | |     /// File descriptor of program (AT_EXECFD).
[INFO] [stdout] 155 | |     ExecFd(2) -> i32,
[INFO] [stdout] 156 | |     /// Program headers for program (AT_PHDR).
[INFO] [stdout] ...   |
[INFO] [stdout] 241 | |     MinimalSignalStackSize(51) -> usize,
[INFO] [stdout] 242 | | }
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout]     = note: this error originates in the macro `def_keys` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/env/aux/mod.rs:248:5
[INFO] [stdout]     |
[INFO] [stdout] 248 |     AUXV.get_unchecked(T::N).map(<T::Item as AuxValue>::from)
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/env/kernel/mod.rs:11:28
[INFO] [stdout]     |
[INFO] [stdout]  11 |     syscall!(Sysno::uname, self::common::UNAME.get()).expect("Failed to get uname");
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    --> src/env/kernel/common.rs:143:19
[INFO] [stdout]     |
[INFO] [stdout] 143 - pub(crate) static mut UNAME: UnsafeCell<utsname> = UnsafeCell::new(utsname {
[INFO] [stdout] 143 + pub(crate) static UNAME: UnsafeCell<utsname> = UnsafeCell::new(utsname {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/env/kernel/common.rs:154:27
[INFO] [stdout]     |
[INFO] [stdout] 154 |     let release = cstr(&(*UNAME.get()).release);
[INFO] [stdout]     |                           ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 143 - pub(crate) static mut UNAME: UnsafeCell<utsname> = UnsafeCell::new(utsname {
[INFO] [stdout] 143 + pub(crate) static UNAME: UnsafeCell<utsname> = UnsafeCell::new(utsname {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/env/kernel/common.rs:174:19
[INFO] [stdout]     |
[INFO] [stdout] 174 |     let k = &mut *KERNEL_VERSION.get();
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 151 - pub(crate) static mut KERNEL_VERSION: UnsafeCell<Version> = UnsafeCell::new(kversion!(0));
[INFO] [stdout] 151 + pub(crate) static KERNEL_VERSION: UnsafeCell<Version> = UnsafeCell::new(kversion!(0));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/env/kernel/common.rs:220:7
[INFO] [stdout]     |
[INFO] [stdout] 220 |     &*KERNEL_VERSION.get()
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 151 - pub(crate) static mut KERNEL_VERSION: UnsafeCell<Version> = UnsafeCell::new(kversion!(0));
[INFO] [stdout] 151 + pub(crate) static KERNEL_VERSION: UnsafeCell<Version> = UnsafeCell::new(kversion!(0));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/env/kernel/common.rs:225:7
[INFO] [stdout]     |
[INFO] [stdout] 225 |     &*UNAME.get()
[INFO] [stdout]     |       ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 143 - pub(crate) static mut UNAME: UnsafeCell<utsname> = UnsafeCell::new(utsname {
[INFO] [stdout] 143 + pub(crate) static UNAME: UnsafeCell<utsname> = UnsafeCell::new(utsname {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/env/vdso/mod.rs:25:7
[INFO] [stdout]    |
[INFO] [stdout] 25 |     &*self::VDSO.get()
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]   --> src/env/vdso/x86_64.rs:36:19
[INFO] [stdout]    |
[INFO] [stdout] 36 - pub(crate) static mut VDSO: UnsafeCell<Vdso> = UnsafeCell::new(Vdso(RawVdso {
[INFO] [stdout] 36 + pub(crate) static VDSO: UnsafeCell<Vdso> = UnsafeCell::new(Vdso(RawVdso {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/env/vdso/x86_64.rs:47:11
[INFO] [stdout]    |
[INFO] [stdout] 47 |         (*VDSO.get()).0 = vdso;
[INFO] [stdout]    |           ^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 36 - pub(crate) static mut VDSO: UnsafeCell<Vdso> = UnsafeCell::new(Vdso(RawVdso {
[INFO] [stdout] 36 + pub(crate) static VDSO: UnsafeCell<Vdso> = UnsafeCell::new(Vdso(RawVdso {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/init.rs:100:15
[INFO] [stdout]     |
[INFO] [stdout] 100 |         match LOCK.compare_exchange_weak(INITIAL, RUNNING, Ordering::Acquire, Ordering::Relaxed) {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  17 - static mut LOCK: AtomicU32 = AtomicU32::new(INITIAL);
[INFO] [stdout]  17 + static LOCK: AtomicU32 = AtomicU32::new(INITIAL);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/init.rs:104:17
[INFO] [stdout]     |
[INFO] [stdout] 104 |                 LOCK.store(COMPLETE, Ordering::Release);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  17 - static mut LOCK: AtomicU32 = AtomicU32::new(INITIAL);
[INFO] [stdout]  17 + static LOCK: AtomicU32 = AtomicU32::new(INITIAL);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/init.rs:139:16
[INFO] [stdout]     |
[INFO] [stdout] 139 |             if LOCK.load(Ordering::Relaxed) == RUNNING {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  17 - static mut LOCK: AtomicU32 = AtomicU32::new(INITIAL);
[INFO] [stdout]  17 + static LOCK: AtomicU32 = AtomicU32::new(INITIAL);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/init.rs:140:17
[INFO] [stdout]     |
[INFO] [stdout] 140 |                 LOCK.store(PANICKED, Ordering::Relaxed);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  17 - static mut LOCK: AtomicU32 = AtomicU32::new(INITIAL);
[INFO] [stdout]  17 + static LOCK: AtomicU32 = AtomicU32::new(INITIAL);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary `unsafe` block
[INFO] [stdout]   --> src/env/vdso/x86_64.rs:45:65
[INFO] [stdout]    |
[INFO] [stdout] 43 | pub(crate) unsafe fn init() { unsafe {
[INFO] [stdout]    |                               ------ because it's nested under this `unsafe` block
[INFO] [stdout] 44 |     if let Some(vdso) =
[INFO] [stdout] 45 |         crate::env::aux::get::<SysInfoHeader>().and_then(|info| unsafe { RawVdso::from_ptr(info) })
[INFO] [stdout]    |                                                                 ^^^^^^ unnecessary `unsafe` block
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/env/aux/mod.rs:138:26
[INFO] [stdout]     |
[INFO] [stdout] 138 |                           *AUXV.get_unchecked_mut($name::N) = Some((*ptr).a_un);
[INFO] [stdout]     |                            ^^^^ mutable reference to mutable static
[INFO] [stdout] ...
[INFO] [stdout] 153 | / def_keys! {
[INFO] [stdout] 154 | |     /// File descriptor of program (AT_EXECFD).
[INFO] [stdout] 155 | |     ExecFd(2) -> i32,
[INFO] [stdout] 156 | |     /// Program headers for program (AT_PHDR).
[INFO] [stdout] ...   |
[INFO] [stdout] 241 | |     MinimalSignalStackSize(51) -> usize,
[INFO] [stdout] 242 | | }
[INFO] [stdout]     | |_- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[deny(static_mut_refs)]` (part of `#[deny(rust_2024_compatibility)]`) on by default
[INFO] [stdout]     = note: this error originates in the macro `def_keys` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/env/aux/mod.rs:248:5
[INFO] [stdout]     |
[INFO] [stdout] 248 |     AUXV.get_unchecked(T::N).map(<T::Item as AuxValue>::from)
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/env/kernel/mod.rs:11:28
[INFO] [stdout]     |
[INFO] [stdout]  11 |     syscall!(Sysno::uname, self::common::UNAME.get()).expect("Failed to get uname");
[INFO] [stdout]     |                            ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    --> src/env/kernel/common.rs:143:19
[INFO] [stdout]     |
[INFO] [stdout] 143 - pub(crate) static mut UNAME: UnsafeCell<utsname> = UnsafeCell::new(utsname {
[INFO] [stdout] 143 + pub(crate) static UNAME: UnsafeCell<utsname> = UnsafeCell::new(utsname {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/env/kernel/common.rs:154:27
[INFO] [stdout]     |
[INFO] [stdout] 154 |     let release = cstr(&(*UNAME.get()).release);
[INFO] [stdout]     |                           ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 143 - pub(crate) static mut UNAME: UnsafeCell<utsname> = UnsafeCell::new(utsname {
[INFO] [stdout] 143 + pub(crate) static UNAME: UnsafeCell<utsname> = UnsafeCell::new(utsname {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/env/kernel/common.rs:174:19
[INFO] [stdout]     |
[INFO] [stdout] 174 |     let k = &mut *KERNEL_VERSION.get();
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 151 - pub(crate) static mut KERNEL_VERSION: UnsafeCell<Version> = UnsafeCell::new(kversion!(0));
[INFO] [stdout] 151 + pub(crate) static KERNEL_VERSION: UnsafeCell<Version> = UnsafeCell::new(kversion!(0));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/env/kernel/common.rs:220:7
[INFO] [stdout]     |
[INFO] [stdout] 220 |     &*KERNEL_VERSION.get()
[INFO] [stdout]     |       ^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 151 - pub(crate) static mut KERNEL_VERSION: UnsafeCell<Version> = UnsafeCell::new(kversion!(0));
[INFO] [stdout] 151 + pub(crate) static KERNEL_VERSION: UnsafeCell<Version> = UnsafeCell::new(kversion!(0));
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/env/kernel/common.rs:225:7
[INFO] [stdout]     |
[INFO] [stdout] 225 |     &*UNAME.get()
[INFO] [stdout]     |       ^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout] 143 - pub(crate) static mut UNAME: UnsafeCell<utsname> = UnsafeCell::new(utsname {
[INFO] [stdout] 143 + pub(crate) static UNAME: UnsafeCell<utsname> = UnsafeCell::new(utsname {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/env/vdso/mod.rs:25:7
[INFO] [stdout]    |
[INFO] [stdout] 25 |     &*self::VDSO.get()
[INFO] [stdout]    |       ^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]   --> src/env/vdso/x86_64.rs:36:19
[INFO] [stdout]    |
[INFO] [stdout] 36 - pub(crate) static mut VDSO: UnsafeCell<Vdso> = UnsafeCell::new(Vdso(RawVdso {
[INFO] [stdout] 36 + pub(crate) static VDSO: UnsafeCell<Vdso> = UnsafeCell::new(Vdso(RawVdso {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]   --> src/env/vdso/x86_64.rs:47:11
[INFO] [stdout]    |
[INFO] [stdout] 47 |         (*VDSO.get()).0 = vdso;
[INFO] [stdout]    |           ^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]    |
[INFO] [stdout] 36 - pub(crate) static mut VDSO: UnsafeCell<Vdso> = UnsafeCell::new(Vdso(RawVdso {
[INFO] [stdout] 36 + pub(crate) static VDSO: UnsafeCell<Vdso> = UnsafeCell::new(Vdso(RawVdso {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/init.rs:100:15
[INFO] [stdout]     |
[INFO] [stdout] 100 |         match LOCK.compare_exchange_weak(INITIAL, RUNNING, Ordering::Acquire, Ordering::Relaxed) {
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  17 - static mut LOCK: AtomicU32 = AtomicU32::new(INITIAL);
[INFO] [stdout]  17 + static LOCK: AtomicU32 = AtomicU32::new(INITIAL);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/init.rs:104:17
[INFO] [stdout]     |
[INFO] [stdout] 104 |                 LOCK.store(COMPLETE, Ordering::Release);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  17 - static mut LOCK: AtomicU32 = AtomicU32::new(INITIAL);
[INFO] [stdout]  17 + static LOCK: AtomicU32 = AtomicU32::new(INITIAL);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/init.rs:139:16
[INFO] [stdout]     |
[INFO] [stdout] 139 |             if LOCK.load(Ordering::Relaxed) == RUNNING {
[INFO] [stdout]     |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  17 - static mut LOCK: AtomicU32 = AtomicU32::new(INITIAL);
[INFO] [stdout]  17 + static LOCK: AtomicU32 = AtomicU32::new(INITIAL);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `linux-syscalls` (lib) due to 13 previous errors; 16 warnings emitted
[INFO] [stdout] error: creating a shared reference to mutable static
[INFO] [stdout]    --> src/init.rs:140:17
[INFO] [stdout]     |
[INFO] [stdout] 140 |                 LOCK.store(PANICKED, Ordering::Relaxed);
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] help: this type already provides "interior mutability", so its binding doesn't need to be declared as mutable
[INFO] [stdout]     |
[INFO] [stdout]  17 - static mut LOCK: AtomicU32 = AtomicU32::new(INITIAL);
[INFO] [stdout]  17 + static LOCK: AtomicU32 = AtomicU32::new(INITIAL);
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `linux-syscalls` (lib test) due to 13 previous errors; 16 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "0f09d44aa4996cc4775dae7f1e479420979d2eefb5fdca81e61b7314fc1df370", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0f09d44aa4996cc4775dae7f1e479420979d2eefb5fdca81e61b7314fc1df370", kill_on_drop: false }`
[INFO] [stdout] 0f09d44aa4996cc4775dae7f1e479420979d2eefb5fdca81e61b7314fc1df370
